package com.example.dao;

import com.example.pojo.Goods;
import com.github.pagehelper.Page;

import java.util.List;

public interface GoodsAdminDao {

    Page<Goods> findByCondition(String queryString);

    void add(Goods goods);

    void deleteById(Integer id);

    Goods findById(Integer id);

    void edit(Goods goods);
    List<Goods> findAllGoods();
}
